<?php
/**
 * @author li ming
 * @date 2021-10-12
 */
namespace Modules\Order\Validate\Api;

use Modules\Order\Validate\BaseValidate;

class OrderValidate extends BaseValidate
{

    protected $rule = [
        'mch_list' => 'required|string',
    ];

    protected $message = [
        'mch_list.required' => 'Mch List 参数不能为空',
        'mch_list.array' => 'Mch List 参数格式不对',
    ];

    protected $scene = [
        // 确认订单
        'confirm' => ['mch_list'],
//        'empower_add' => ['name', 'phone', 'province', 'city', 'region', 'detail'],
//        'edit' => ['name', 'phone', 'province_id', 'city_id', 'region_id', 'detail', 'address_id'],
//        'save_default' => ['address_id'],
//        'del' => ['address_id'],
    ];
}